package com.maiworld.api.controller;

import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.dubbo.config.annotation.Reference;
import com.maiworld.seller.service.FansService;

@RestController
@RequestMapping("/fans")
public class FansController {

	@Reference
	private FansService fansService;
	
	//用户的粉丝数据信息返回(测试通过)
	@RequestMapping("/findOne")
	public Map<String, Object> findOne(String openid,Long sid){
		return fansService.findOne(openid,sid); 
	}
}
